<html><head><title>Extract Fitted Values For A GAMLSS Model</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="Rchm.css">
</head>
<body>

<table width="100%"><tr><td>fitted.gamlss(gamlss)</td><td align="right">R Documentation</td></tr></table><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="keyword" value="R:   fitted.gamlss">
<param name="keyword" value="R:   fv">
<param name="keyword" value=" Extract Fitted Values For A GAMLSS Model">
</object>


<h2>Extract Fitted Values For A GAMLSS Model</h2>


<h3>Description</h3>

<p>
<code>fitted.gamlss</code> is the GAMLSS specific method for the generic function 
<code>fitted</code> which extracts fitted values for a specified parameter from  a GAMLSS objects.  <code>fitted.values</code> is an
alias for it. The function <code>fv()</code> is similar to <code>fitted.gamlls()</code> but allows the argument <code>what</code> not to be character
</p>


<h3>Usage</h3>

<pre>
## S3 method for class 'gamlss':
fitted(object, what = c("mu", "sigma", "nu", "tau"), ...)
fv(obj, what = "mu", ...)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>object</code></td>
<td>
a GAMLSS fitted model</td></tr>
<tr valign="top"><td><code>obj</code></td>
<td>
a GAMLSS fitted model</td></tr>
<tr valign="top"><td><code>what</code></td>
<td>
which parameter fitted values  are required, default <code>what="mu"</code> </td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
for extra arguments</td></tr>
</table>

<h3>Value</h3>

<p>
Fitted values extracted from the GAMLSS object for the given parameter.</p>

<h3>Author(s)</h3>

<p>
Mikis Stasinopoulos <a href="mailto:d.stasinopoulos@londonmet.ac.uk">d.stasinopoulos@londonmet.ac.uk</a>
</p>


<h3>References</h3>

<p>
Rigby, R. A. and  Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape,(with discussion), 
<EM>Appl. Statist.</EM>, <B>54</B>, part 3, pp 507-554.
</p>
<p>
Stasinopoulos D. M., Rigby R.A. and Akantziliotou C. (2006) Instructions on how to use the GAMLSS package in R.
Accompanying documentation in the current GAMLSS  help files, (see also  <a href="http://www.gamlss.com/">http://www.gamlss.com/</a>). 
</p>
<p>
Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R.
<EM>Journal of Statistical Software</EM>, Vol. <B>23</B>, Issue 7, Dec 2007, <a href="http://www.jstatsoft.org/v23/i07">http://www.jstatsoft.org/v23/i07</a>.
</p>


<h3>See Also</h3>

<p>
<code><a href="print.gamlss.html">print.gamlss</a></code>, <code><a href="summary.gamlss.html">summary.gamlss</a></code>,  <code><a href="fitted.gamlss.html">fitted.gamlss</a></code>,  <code><a href="coef.gamlss.html">coef.gamlss</a></code>,  
<code><a href="residuals.gamlss.html">residuals.gamlss</a></code>, <code><a href="update.gamlss.html">update.gamlss</a></code>,  <code><a href="plot.gamlss.html">plot.gamlss</a></code>, <code><a href="deviance.gamlss.html">deviance.gamlss</a></code>, 
<code><a href="formula.gamlss.html">formula.gamlss</a></code>
</p>


<h3>Examples</h3>

<pre>
data(aids)
h&lt;-gamlss(y~poly(x,3)+qrt, family=PO, data=aids) # 
fitted(h)
rm(h)
</pre>



<hr><div align="center">[Package <em>gamlss</em> version 1.7-9 <a href="00Index.html">Index]</a></div>

</body></html>
